﻿using EPiServer.Editor.TinyMCE;

namespace TemplateFoundation.Plugins.Editor
{
    /// <summary>
    /// TinyMCE plugin to allow editors to insert script tags
    /// </summary>
    [TinyMCEPluginNonVisual(
        DisplayName = "Allow JavaScript",
        Description = "Allows an editor to insert script tags through the TinyMCE editor",
        PlugInName = "AllowScriptElementPlugin",
        EditorInitConfigurationOptions = "{ extended_valid_elements: '#script[src|type]' }")]
    public class AllowScriptElementPlugin
    {
    }
}
